gdk: Skip GdkVulkanContext methods when building introspection data
authorEmmanuele Bassi <ebassi@gnome.org>
Thu, 19 Jan 2017 18:18:07 +0000 (18:18 +0000)
committerEmmanuele Bassi <ebassi@gnome.org>
Thu, 19 Jan 2017 18:18:07 +0000 (18:18 +0000)
We cannot use Vulkan types through introspection anyway.

gdk/gdkvulkancontext.h

index ac1779d97720512cfded4898010fae8afedf0af2..40b132c88bd8470fb98f3cc3955b7396173f28e7 100644 (file)
@@ -46,6 +46,7 @@ GQuark gdk_vulkan_error_quark (void);
 GDK_AVAILABLE_IN_3_90
 GType gdk_vulkan_context_get_type (void) G_GNUC_CONST;
 
+#ifndef __GI_SCANNER__
 #ifdef GDK_RENDERING_VULKAN
 
 GDK_AVAILABLE_IN_3_90
@@ -74,6 +75,7 @@ GDK_AVAILABLE_IN_3_90
 VkSemaphore             gdk_vulkan_context_get_draw_semaphore       (GdkVulkanContext  *context);
 
 #endif /* GDK_RENDERING_VULKAN */
+#endif /* __GI_SCANNER__ */
 
 G_END_DECLS